﻿using System;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace SimpleForum.Data.Models
{
    [MetadataType(typeof(PostMetaData))]
    public partial class Post
    {

    }

    public class PostMetaData
    {
        [AllowHtml, DataType("MarkdownEditor")]
        public string Body { get; set; }
    }
}